import ProxyInterface from '../proxy-interface';
import {SecurityPageModel} from '@pkpm/pkpm-types';

class UserSecurityPageProxy implements ProxyInterface<SecurityPageModel> {
    private securityPage = new SecurityPageModel();

    constructor(responseData) {
        let data = responseData;
        Object.assign<SecurityPageModel, any>(this.securityPage, data);
    }

    getModel(): SecurityPageModel {
        return this.securityPage;
    }
}

export {UserSecurityPageProxy};
